// JavaScript Document


function selectTag(showContent,selfObj){
	// 操作标签
	var tag = document.getElementById("tags").getElementsByTagName("li");
	var taglength = tag.length;
	for(i=0; i<taglength; i++){
		tag[i].className = "";
	}
	selfObj.parentNode.className = "selectTag";
	// 操作内容
	for(i=0; j=document.getElementById("tagContent"+i); i++){
		j.style.display = "none";
	}
	document.getElementById(showContent).style.display = "block";
	
	
}



function selectTag2(showContent2,selfObj){
	// 操作标签
	var tag2 = document.getElementById("tags2").getElementsByTagName("li");
	var tag2length2 = tag2.length;
	for(i=0; i<tag2length2; i++){
		tag2[i].className = "";
	}
	selfObj.parentNode.className = "selectTag2";
	// 操作内容
	for(i=0; j=document.getElementById("tag2Content2"+i); i++){
		j.style.display = "none";
	}
	document.getElementById(showContent2).style.display = "block";
	
	
}


function selectTag3(showContent3,selfObj){
	// 操作标签
	var tag3 = document.getElementById("tags3").getElementsByTagName("li");
	var tag3length3 = tag3.length;
	for(i=0; i<tag3length3; i++){
		tag3[i].className = "";
	}
	selfObj.parentNode.className = "selectTag3";
	// 操作内容
	for(i=0; j=document.getElementById("tag3Content3"+i); i++){
		j.style.display = "none";
	}
	document.getElementById(showContent3).style.display = "block";
	
	
}




function selectTag4(showContent4,selfObj){
	// 操作标签
	var tag4 = document.getElementById("tags4").getElementsByTagName("li");
	var tag4length4 = tag4.length;
	for(i=0; i<tag4length4; i++){
		tag4[i].className = "";
	}
	selfObj.parentNode.className = "selectTag4";
	// 操作内容
	for(i=0; j=document.getElementById("tag4Content4"+i); i++){
		j.style.display = "none";
	}
	document.getElementById(showContent4).style.display = "block";
	
	
}




function selectTag5(showContent5,selfObj){
	// 操作标签
	var tag5 = document.getElementById("tags5").getElementsByTagName("li");
	var tag5length5 = tag5.length;
	for(i=0; i<tag5length5; i++){
		tag5[i].className = "";
	}
	selfObj.parentNode.className = "selectTag5";
	// 操作内容
	for(i=0; j=document.getElementById("tag5Content5"+i); i++){
		j.style.display = "none";
	}
	document.getElementById(showContent5).style.display = "block";
	
	
}




function showhidediv(id){
var sbtitle=document.getElementById(id);
if(sbtitle){
   if(sbtitle.style.display=='block'){
   sbtitle.style.display='none';
   }else{
   sbtitle.style.display='block';
   }
}
}




function fixPNG(myImage) {     var arVersion = navigator.appVersion.split("MSIE");     var version = parseFloat(arVersion[1]);      if ((version >= 5.5) && (version < 7) && (document.body.filters))     {         var imgID = (myImage.id) ? "id='" + myImage.id + "' " : "";         var imgClass = (myImage.className) ? "class='" + myImage.className + "' " : "";         var imgTitle = (myImage.title) ? "title='" + myImage.title  + "' " : "title='" + myImage.alt + "' ";         var imgStyle = "display:inline-block;" + myImage.style.cssText;         var strNewHTML = "<span " + imgID + imgClass + imgTitle             + " style=\"" + "width:" + myImage.width             + "px; height:" + myImage.height             + "px;" + imgStyle + ";"             + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"             + "(src=\'" + myImage.src + "\', sizingMethod='scale');\"></span>";         myImage.outerHTML = strNewHTML;     } } 